package com.dhcc.bpm.modules.content.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;

/**
 * @ClassName Sdk
 * @Description  Sdk实体类
 * @Author lijiacheng
 * @Date 2020/2/21 14:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 */
@Data
@TableName("opc_sdk")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Sdk对象", description = "架包管理")
public class Sdk extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* sdk名称
	*/
		@ApiModelProperty(value = "sdk名称")
		private String sdkName;
	/**
	* sdk编号
	*/
		@ApiModelProperty(value = "sdk编号")
		private String sdkCode;
	/**
	* sdk版本
	*/
		@ApiModelProperty(value = "sdk版本")
		private String sdkVersion;
	/**
	* 键值
	*/
		@ApiModelProperty(value = "键值")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Integer keyValue;
	/**
	* 所属产品
	*/
		@ApiModelProperty(value = "所属产品")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Long opcProductId;
	/**
	* 类型
	*/
		@ApiModelProperty(value = "类型")
		@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
		private Integer type;
	/**
	* 描述
	*/
		@ApiModelProperty(value = "描述")
		@TableField(value = "`describe`")
		private String describe;

	/**
	 * 文件ID
	 */
	@ApiModelProperty(value = "文件ID")
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long opcPluploadId;

}
